

package com.maoshi.shop.distribution.comment.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * 分销商品绑定表
 *
 * @author xwc
 * @date 2019-04-22 10:01:44
 */
@Data
@TableName("tz_distribution_prod_bind")
@EqualsAndHashCode
public class DistributionProdBind implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     * 用户商品绑定表
     */
    @TableId
    private Long id;
    /**
     * 分销员id
     */
    private Long distributionUserId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 绑定时间
     */
    private Date bindTime;
    /**
     * 商品id
     */
    private Long prodId;

    /**
     * 状态
     */
    private Integer state;

}
